<%--
  Created by IntelliJ IDEA.
  User: 34503
  Date: 2021/7/6
  Time: 15:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="css/sjbx.css" />
    <script src="./js/jquery.min.js"></script>
    <script src="js/sjbx.js"></script>
</head>
<body>
<div style="position: absolute; top: 0px;left: 0px;">
    <!--头-->
    <div id="to">
        <div id="t"><a><img src="img/sjjb_t.png"/> </a> </div>
        <div id="t1">
            <input id="ssk" type="text"  placeholder=" 🔍  请输入关键词或考试码"/>
            <button id="sosuo">搜 索</button>
        </div>
        <div id="yhm"><a href="###"> 用户名</a> | 帮助中心</div>
    </div>

    <div id="cd">
        <div class="c1"><a href="ksjbxx.jsp"><img src="img/ksjbxx1.png" /> </a> </div>
        <div class="c1"><a><img src="img/sjbx11.png" /> </a> </div>
        <div class="cc1"><a href="dasz.jsp"><img src="img/dtsz.png" /> </a> </div>
        <button id="lr"> 浏览 </button>
        <button id="fb"> 发布 </button>
    </div>

    <div id="r">


        <div id="zcd">
            <div class="d">
                <img src="img/sjml.png" />


            </div>
            <div class="x">
                <c:forEach items="${tmlist}" var="obj" varStatus="i">
                    <div id="tms" style="height:30px;width: 240px;border-bottom: 1px solid #D1D2D4;background-color: white;">
                        <input type="text"  style="border:none;overflow: hidden; float: left;width:150px;height: 30px;" value="${obj.questionname}"></input>
                        <div style="float: left;position: relative;left: 30px;"><a id="cs${i.count}" href="/sjbx/deletm?tmid=${obj.questionid}" style="color: #787878;">删除</a></div>
                    </div>

                </c:forEach>
                <script>
                    $(".x").delegate("a","click",function(){

                    });
                </script>
            </div>


        </div>


        <div id="zt">
            <div id="bxname">
                <div id="bt"><span> 设置标题</span><a><img src="img/bianji.png" /></a> </div>
            </div>

            <div id="lm">
                <div id="dlm"><b>一.  栏目标题</b> </div>
                <div id="bj"><a id="sc"><img src="img/sancu.png"/></a> <span id="tjxt"> + 添加新题 </span> </div>
            </div>


            <div id="tm">

                <div id="xx">
                    <form method="post" accept-charset="utf-8" action="###">
                        <table  style="border-spacing:2px 10px;">
                            <tr>
                                <td class="z"><b> 题 干 : </b></td>
                                <td><input type="text" name="" id="tg" class="k"/></td>
                            </tr>
                            <tr>
                                <td class="z"><b> 知识点 : </b></td>
                                <td><input type="text" name="" id="zsd"class="k"/></td>
                            </tr>
                            <tr>
                                <td class="z"><b> 分 值 : </b></td>
                                <td><input type="button" value="-" id="jian" />  <input type="text" name="" id="fz"/> <input type="button" value="+" id="jia" /> </td>
                            </tr>
                            <tr>
                                <td class="z"><b> 题 型 : </b></td>
                                <td><input type="button" value="单选" id="dx" class="yss" /> <input type="button" value="多选" id="duox" class="ys"/>
                                    <input type="button" value="填空" id="tk" class="ys"/>
                                </td>
                            </tr>
                            <tr class="xx">
                                <td class="z"><b> 选 项 : </b></td>
                                <td class="xx"><input type="button" value="A" id="A" class="xxian" /><input type="text" class="xuanx" id="A1" /> </td>
                            </tr>
                            <tr class="xx">
                                <td class="z"><b></b></td>
                                <td><input type="button" value="B" id="B" class="xxian" /><input type="text" class="xuanx" id="B1" /> </td>
                            </tr>
                            <tr class="xx">
                                <td class="z"><b></b></td>
                                <td><input type="button" value="C" id="C" class="xxian" /><input type="text" class="xuanx" id="C1" /> </td>
                            </tr>
                            <tr class="xx">
                                <td class="z"><b></b></td>
                                <td><input type="button" value="D" id="D" class="xxian" /><input type="text" class="xuanx" id="D1" /> </td>
                            </tr>

                            <tr>
                                <td class="z"><b> 答 案 : </b></td>
                                <td class="xx"><input type="button" value="A" id="da_A" class="daan1" /> <input type="button" value="B" id="da_B" class="daan"/>
                                    <input type="button" value="C" id="da_C" class="daan"/> <input type="button" value="D" id="da_D" class="daan"/>
                                </td>
                                <td  class="tk"> <input type="text" class="xuanx" name="D1" id="tkda" /></td>
                            </tr>

                        </table>

                        <div id="qrxx"><input type="button" value="取 消" id="xq"> <button id="qr" disabled="disabled"> <a id="qra" href="/sjbx/addtimu" >确 定</a></button></div>


                </form>

            </div>


            <div style="width: 100px;height: 90px" ></div>
            <div id="dbcd">

            </div>


        </div>

        </div>
    </div>
</div>
</body>
<script>
    // 加减按钮的方法
    $("#jia").click(function (){
        var f = $("#fz").val();
        f++;
        $("#fz").val(f);
    })
    $("#jian").click(function (){
        var f = $("#fz").val();
        f--;
        $("#fz").val(f);
    })
</script>
</html>
